<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>管理员</title>
</head>
<body>
<center>用户修改</center>
<h3 align="right"><a href="../admin/index.php?c=index&m=index">返回</a></h3>
<?php 

	$row = $data['user'];
	//var_dump($row);
	$sid = $row['sid'];
	$sname = $row['sname'];
	$password = $row['password'];


 ?>

<form method="post" action="index.php?c=index&m=updateuser" enctype="multipart/form-data">
	<table align="center" border="1">
		<tr>
			<th>准考证号</th>
			<th><input type="hidden" name="sid" value=<?php echo $sid; ?>></th>
		</tr>
		<tr>
			<th>用户名</th>
			<th><input type="text" name="sname" value="<?php 
          echo $sname;?>"></th>
		</tr>
		<tr>
			<th>密码</th>
			<th><input type="password" name="password"  ></th>
		</tr>
		<tr>
			<th><input type="submit" value="更新"></th>
			<th><input type="reset"  value="重置"></th>
		</tr>
	</table>
</form>
</body>
</html>